<div data-role="page">
    <div data-role="header">
        <a href="#" data-rel="back" class="ui-btn ui-icon-arrow-l ui-btn-icon-left ui-shadow">返回</a>
        <h1>获取网络信息</h1>
    </div>
    <div role="main" class="ui-content">
        <p>使用ccordova-plugin-network-information插件获取网络信息:</p>
        <div data-role="collapsible">
            <h1 onclick="GetNetworkInfo()">点击查看网络信息</h1>
            <p id="networkInfo"></p>
        </div>
    </div>
</div>